package com.jic.member.mapper;
import com.jic.common.base.orm.BaseMapper;
import com.jic.member.entity.TripNodeTemplateEntity;
import com.jic.member.response.TripNodeTemplateResponse;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TripNodeTemplateEntityMapper extends BaseMapper<TripNodeTemplateEntity>{
    List<TripNodeTemplateResponse> getAllNodeTemplate();

    TripNodeTemplateEntity getNodeTemplateByCode(@Param("code") String code);
}